<?php
include(dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'bootstrap.php');

$user = new User();
$user->login = $_POST['login'];
$user->password = $_POST['password'];
$user->full_name = $_POST['full_name'];
$user->save();

$view = new View();
$view->redirect('users.php');
